﻿<UserControl x:Class="MabiPatch.PatcherUI"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="339" Width="700" Loaded="OnLoad">
	<Grid>
    	<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="Auto" />
			<RowDefinition Height="*" />
		</Grid.RowDefinitions>
		<Grid Grid.Row="0">
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="Auto" />
			</Grid.RowDefinitions>
			<CheckBox Grid.Row="0" Name="delParts" Margin="0,0,0,4" Checked="checkbox_Checked">Delete Part files</CheckBox>
            <CheckBox Grid.Row="1" Name="delZIP" Margin="0,0,0,4" Checked="checkbox_Checked">Delete patch ZIP</CheckBox>
            <CheckBox Grid.Row="2" Name="delTree" Margin="0,0,0,4" Checked="checkbox_Checked">Delete temporary content tree</CheckBox>
		</Grid>
        <CheckBox Grid.Row="1" Name="allowPrepatch" Margin="0,0,0,4" Checked="checkbox_Checked" >Use FTP server to prepatch</CheckBox>
		<Button Grid.Row="2" HorizontalAlignment="Left" Margin="0,0,0,4" Click="redlLang_Click">Redownload language pack (Current Version)</Button>
		<Button Grid.Row="3" HorizontalAlignment="Left" Margin="0,0,0,4" Click="writeCustomNumber_Click">Write custom version number</Button>
		<Grid Grid.Row="4">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
			<Button Grid.Column="0" Margin="0,0,4,4" Click="patchTo_Click">Patch to:</Button>
			<ComboBox Name="versionCombo" Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,4">
			</ComboBox>
		</Grid>
		<Button Grid.Row="5" HorizontalAlignment="Left" Margin="0,0,0,4" Click="redlCV_Click">Redownload current version in full</Button>
	</Grid>
</UserControl>